<template>
  <!-- 视频点播管理 -->
  <section class="com-con">
    <div class="con-top">
      <el-form :inline="true"
               :model="formInline">
        <el-form-item label="类型">
          <el-select v-model="formInline.region"
                     placeholder="请选择">
            <el-option label="电影"
                       value="shanghai"></el-option>
            <el-option label="电视剧"
                       value="beijing"></el-option>
            <el-option label="党建专题片"
                       value="beijing"></el-option>
            <el-option label="党建新闻"
                       value="beijing"></el-option>
            <el-option label="面对面"
                       value="beijing"></el-option>
            <el-option label="农事早知道"
                       value="beijing"></el-option>
            <el-option label="人才联盟"
                       value="beijing"></el-option>
          </el-select>
        </el-form-item>

        <el-button type="success"
                   class="f-right">新增资源</el-button>

      </el-form>
    </div>
    <div style="color:red;">
      提示：首页最多可放6个视频，请输入1-6的数字，数字仅作为排序,非1-6之间的数，则为不添加到首页
    </div>
    <div class="con-bottom">
      <el-table :data="tableData"
                stripe
                style="width: 100%">
        <el-table-column prop="date"
                         label="序号"
                         width="50">
        </el-table-column>
        <el-table-column prop="name"
                         label="类型"
                         width="80">
        </el-table-column>
        <el-table-column prop="address"
                         label="名称">
        </el-table-column>
        <el-table-column prop="address"
                         label="封面">
        </el-table-column>
        <el-table-column label="操作">
          <el-button type="success" size="small">预览</el-button>
          <el-button type="warning" size="small">编辑</el-button>
          <el-button type="error" size="small">删除</el-button>
        </el-table-column>

      </el-table>
    </div>
  </section>
</template>

<script>
export default {
  name: '',
  data() {
    return {
      formInline: {
        user: '',
        region: ''
      },
      tableData: [
        {
          date: '2016-05-02',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        },
        {
          date: '2016-05-04',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1517 弄'
        },
        {
          date: '2016-05-01',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1519 弄'
        },
        {
          date: '2016-05-03',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1516 弄'
        }
      ]
    }
  }
}
</script>

<style lang="" scoped>
</style>
